package com.xuecheng.content.api;

import com.xuecheng.content.dto.TeachplanDto;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author FengHuan Wang
 * @Date 2025/3/30 9:50
 * @Version 1.0
 */
@RestController
@Slf4j
public class TeachPlanController {

    /**
     * 查询课程计划树形结构接口
     * @param courseId
     * @return
     */
    @ApiOperation("查询课程计划树形结构")
    @GetMapping("/teachplan/{courseId}/tree-nodes")
    public List<TeachplanDto> getTreeNodes(@PathVariable Long courseId){
        return null;
    }
}
